package com.ruiaa.meeting.service;

import com.ruiaa.meeting.common.CommonResponse;
import com.ruiaa.meeting.model.User;

import java.util.List;

public interface AdminService {
    CommonResponse<User>addUser(String username, String password);
    CommonResponse<Object>deleteUser(String username);
    CommonResponse<Object>updateUser(User user);//修改用户信息不包括重置密码
    CommonResponse<Object>selectUser(String usernameList);//单个用户默认返回长度为1的list
    CommonResponse<Object>modifyUserPassword(String username, String password);
    CommonResponse<Object>banUser(String username);//封禁用户
    CommonResponse<Object>defrostUser(String username);//解禁用户

}
